package com.example.demo_spring.ioc_di.pureJava.fakeSpring;


public class Main {

    public static SpringFaker SpringRun()
    {
        SpringFaker springFaker = new SpringFaker();
        springFaker.addCustomer();
        springFaker.addHello();
//        springFaker.addHelloWithReflect();

        return springFaker;
    }

    public static void main(String[] args) {
        SpringFaker applicationContext = SpringRun();

        Hello h = (Hello) applicationContext.getBean("hello");
        h.toCustomer();
    }
}
